package cn.akwangl.design.pattern.behavioral.mediator.v2;

/**
 * 抽象中介者
 *
 * @author youyongkun
 * @date 2021/12/7 23:03
 */
public interface Medium {

    /**
     * 注册
     *
     * @author youyongkun
     * @date 2021/12/7 23:04
     */
    void register(Customer member);

    /**
     * 消息转发
     *
     * @param
     * @return
     * @author youyongkun
     * @date 2021/12/7 23:04
     */
    void relay(String from, String ad);

}
